package com.example.imagecompressor;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync; // Enable asynchronous processing

@SpringBootApplication
@EnableAsync // Important for running compression tasks in the background
public class ImageCompressorWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(ImageCompressorWebApplication.class, args);
    }

} 